package com.meilai.project.mapper.business.sale;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.entity.business.sale.BillSaleGroupRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 销售单分组关系表 Mapper 接口
 * </p>
 *
 * @author xhy
 * @since 2022-12-05
 */
public interface BillSaleGroupRelationMapper extends BaseMapper<BillSaleGroupRelation> {

    List<Long> getBillSaleIdsByBillSaleIds(@Param("bill_sale_ids") List<Long> bill_sale_ids);

    List<Long> getBillSaleIdsByBillSaleId(@Param("bill_sale_id") Long bill_sale_id);
}
